//
//  ConfirmArrivalTableViewCell.m
//  ShoppingExperience
//
//  Created by LiYinDi on 15-6-5.
//  Copyright (c) 2015年 RuiBen. All rights reserved.
//

#import "ConfirmArrivalTableViewCell.h"

@implementation ConfirmArrivalTableViewCell

- (void)awakeFromNib {
    // Initialization code
    _productImageView.layer.borderColor=[[UIColor colorWithRed:239.0f/255.0f green:239.0f/255.0f blue:239.0f/255.0f alpha:1] CGColor];
    _productImageView.layer.borderWidth= 1.0f;
    _productImageView.layer.masksToBounds = YES;
    _productImageView.layer.cornerRadius=10;
}
- (void)setChecked:(BOOL)checked{
    if (checked)
    {
        _statusImageView.image = [UIImage imageNamed:@"1111.png"];
        self.backgroundView.backgroundColor = [UIColor colorWithRed:223.0/255.0 green:230.0/255.0 blue:250.0/255.0 alpha:1.0];
    }
    else 
    {
        _statusImageView.image = [UIImage imageNamed:@"0000.png"];
        self.backgroundView.backgroundColor = [UIColor whiteColor];
    }
    m_checked = checked;
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
